04. Testing

Testing

Test

Your project is supplied with unit tests that you can use to ensure that you are on the right track. When you complete the project, the unit tests should all pass. The tests are located in the <PROJECT_DIRECTORY>/test/utest_rp_a_star_search.cpp file, and you can view the tests to help you as you write your code.

After you compile the project, the testing executable is placed in the build directory along with the project executable. You can run the tests from the build directory as follows:

./test

The initial output of your tests should look something like the following:

When you have completed the project, the tests should look like the following:

Project Workspace

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: react
  • Opened files (when workspace is loaded): n/a
  • userCode:

    export CXX=g++-7
    export CXXFLAGS=-std=c++17

Task List:

Task Feedback:

Great work! in the next concept, we'll start look at the structure of the project code.